home *** CD-ROM | disk | FTP | other *** search
/ La Traviata / La Traviata.iso / viewer / sample.cmd < prev    next >
OS/2 REXX Batch file  |  1991-02-28  |  2KB  |  40 lines

  1. *
  2. * GIFDESK command language
  3. *
  4. * These are comment lines (either '*' or ';' prefix comment lines in col. 1)
  5. *
  6. *
  7. * AVAILABLE COMMANDS: (MUST START IN COLUMN 1)!
  8. *  SKIP=n    ; skips to files starting with n
  9. *  WRITE     ; write screen out to GIF file GIFDSKnn.GIF (use REDRAW prior to WRITE)
  10. *  PRINT     ; prints screen to LaserJet on LPT1 (use REDRAW prior ro PRINT)
  11. *  GRAY      ; toggles gray/color. Initial mode is color
  12. *  UPRES     ; up to next resolution 640x480 -> 800x600 -> 1024x768
  13. *  DOWNRES   ; down to next resolution 1024x768 -> 800x600 -> 640x480
  14. *  1ARRANGE  ; like F1, arrange in 1x1 format
  15. *  2ARRANGE  ; like F2, arrange in 2x2 format
  16. *  3ARRANGE  ; like F3, arrange in 3xn format
  17. *  4ARRANGE  ; like F4, arrange in smallest format
  18. *  EXIT      ; exit GIFDESK
  19. *  TOGGLE    ; switch into next arrangement format
  20. *  FIRST     ; move to 1st screen of pictures
  21. *  LAST      ; move to last screen of pictures
  22. *  REDRAW    ; allow screen to paint. Use before WRITE or PRINT
  23. *  NEXT      ; next page of pictures
  24. *  BACK      ; previous page of pictures
  25. ;
  26. ; Sample file:
  27. ;
  28. 1ARRANGE         ; switch to 1x1
  29. GRAY             ; change to grayscale
  30. LAST             ; position to last picture
  31. REDRAW           ; draw screen
  32. WRITE            ; generate GIF file GIFDSK00.GIF
  33. BACK             ; position to prior picture
  34. BACK             ; ditto
  35. BACK             ; ditto
  36. 2ARRANGE     ; now last 4 pictures on screen
  37. REDRAW         ; let it redraw
  38. WRITE         ; generate GIF file GIFDSK01.GIF
  39. ESC              ; quit
  40.